#{extends '/include/main.html' /}
#{set title:"数据仓库管理" /}
 #{include "/include/header.html" /}
<div id="wrapper">
	<div id="left-content">
		<ul id="nav">
			#{set currentNumber : 1 /}
			#{list items : urls, as : 'url'}
				<li>
					#{if currentNumber == 1}<span id="nav-selected-pointer"></span>#{/if}
					<a #{if currentNumber == 1}class="selected"#{/if} href="${url.address}" target="iframe-zone" >${url.name}</a>
				</li>
				#{set currentNumber : 1 + currentNumber /}
			#{/list}
		</ul>
	</div>
	
	<div id="right-content">
		#{if urls && urls.size() > 0}
			<iframe src="${urls.get(0).address}" name="iframe-zone" id="iframe-zone" frameborder="0"></iframe>
		#{/if}
		#{else}
			抱歉.您可能没有开通任何权限
		#{/else}
	</div>
</div>
 #{include "/include/footer.html" /}
<script>
	$(function() {
		DwManager.resizeWindow();

		$("#nav").find("a").click(function() {
			$("#nav").find("a").removeClass("selected");
			$(this).addClass("selected").before($("#nav-selected-pointer"));
		});
	})
</script>

